package com.hinnotek.amoeba.ui.activity.old

import android.os.Bundle
import android.view.*
import com.lee.common.base.BaseActivity
import com.hinnotek.amoeba.R
import com.hinnotek.amoeba.databinding.ActivityPtUserRelatedDetailModifyBinding
import com.hinnotek.amoeba.utilities.ToastUtils
import com.xuexiang.xutil.common.StringUtils


class PTUserRelatedDetailModifyActivity : BaseActivity<ActivityPtUserRelatedDetailModifyBinding>(), View.OnClickListener {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setLeftVisible(true)
        setTitle("回款")

        setContentView(R.layout.activity_pt_user_related_detail_modify)
    }

    override fun initVew() {
        findViewById<View>(R.id.superButton_save).setOnClickListener(this)
    }

    override fun setData() {}
    override fun onClick(v: View) {
        when (v.id) {
            R.id.superButton_save -> {
                val met_pt_keyword_s = bindingView.metPtKeyword.contentText.trim()
                if (StringUtils.isEmpty(met_pt_keyword_s)) {
                    ToastUtils.show(mContext, "请填写关键字说明")
                    return
                }
            }
        }
    }
}